//
//  AdviceController.m
//  Meum
//
//  Created by 黄卫 on 17/2/28.
//  Copyright © 2017年 huangwei. All rights reserved.
//

#import "AdviceController.h"

@interface AdviceController ()
@property(nonatomic,strong)UITextView *textView;
@property(nonatomic,strong)UILabel *label;
@end

@implementation AdviceController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"意见与建议";
    self.view.backgroundColor = Color_BackGround;
    [self.view addSubview:self.label];
    [self.view addSubview:self.textView];
    self.textView.text = @"“听党指挥、能打胜仗、作风优良！”参加誓师大会的全体维稳力量声震长空，有力宣示了全区各族干部群众坚定不移贯彻社会稳定和长治久安总目标的坚定决心，展示了各维稳力量忠诚勇敢、无坚不摧、敢打必胜的强大战斗力，彰显出新疆各族人民同仇敌忾、坚决战胜暴恐分子的共同意愿。";
    
}

-(UILabel *)label{
    if (!_label) {
        _label = [[UILabel alloc] init];
        _label.frame = CGRectMake(15, 64+15, Screen_Width-30, 20);
        _label.text = @"感谢留下你的建议或意见";
    }
    return _label;
}

-(UITextView *)textView{
    if (!_textView) {
        _textView = [[UITextView alloc] init];
        _textView.frame = CGRectMake(15, CGRectGetMaxY(self.label.frame)+15, Screen_Width-30, 200);
        _textView.textColor = [UIColor grayColor];
        
    }
    return _textView;
}



- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
